package com.wicket.okrbff.biz.service.dto.common;

import com.wicket.okrbff.common.dto.PagedDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffDataFolderDto
 * @使用场景
 */
@Data
public class BffDataFolderDto extends PagedDto implements Serializable {

  /**
   * 文件夹ID
   */
  @ApiModelProperty("文件夹ID")
  private String unstructuredDataFolderId;

  /**
   * 文件夹名
   */
  @ApiModelProperty("文件夹名")
  private String folderName;

  /**
   * 文件夹下文件大小
   */
  @ApiModelProperty("文件夹下文件大小 ")
  private String fileSize;

  /**
   * 创建时间
   */
  @ApiModelProperty("创建时间")
  private Date createTime;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffDataFolderDto that = (BffDataFolderDto) o;
      return  unstructuredDataFolderId == that.unstructuredDataFolderId&&folderName == that.folderName&&fileSize == that.fileSize&&createTime == that.createTime;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), unstructuredDataFolderId,folderName,fileSize,createTime);
    }

}
